package com.mmm.station.activiti.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by mmm on 2016/10/24.
 * 任务的返回视图bean
 */
public class TaskBean implements Serializable{

    //任务id
    private String taskId;

    private String taskName;

    private Date submitTime;

    private String assignee;

    private Object processBean;

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }
    @JsonFormat(pattern="yyyy-MM-dd hh:mm:ss",timezone = "GMT+8")
    public Date getSubmitTime() {
        return submitTime;
    }

    public void setSubmitTime(Date submitTime) {
        this.submitTime = submitTime;
    }

    public String getAssignee() {
        return assignee;
    }

    public void setAssignee(String assignee) {
        this.assignee = assignee;
    }

    public Object getProcessBean() {
        return processBean;
    }

    public void setProcessBean(Object processBean) {
        this.processBean = processBean;
    }
}
